<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Diff</title>
<meta name="Generator" content="Vim/7.4">
<meta name="plugin-version" content="2html_test">
<meta name="settings" content="no_progress,number_lines,ignore_folding,whole_filler,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,ignore_conceal,prevent_copy=">
<meta name="colorscheme" content="none">
<style type="text/css">
<!--
pre { white-space: pre-wrap; font-family: monospace; color: #ffffff; background-color: #000000; }
body { font-family: monospace; color: #ffffff; background-color: #000000; }
* { font-size: 1em; }
.Statement { color: #ffff60; font-weight: bold; }
.PreProc { color: #ff80ff; }
.Type { color: #60ff60; font-weight: bold; }
.LineNr { color: #ffff00; }
.Comment { color: #80a0ff; }
.Constant { color: #ffa0a0; }
.Special { color: #ffa500; }
.Normal { color: #ffffff; background-color: #000000; padding-bottom: 1px; }
.Todo { color: #0000ff; background-color: #ffff00; padding-bottom: 1px; }
.DiffAdd { background-color: #000080; padding-bottom: 1px; }
.DiffChange { background-color: #800080; padding-bottom: 1px; }
.DiffDelete { color: #0000ff; background-color: #008080; padding-bottom: 1px; font-weight: bold; }
.DiffText { background-color: #ff0000; padding-bottom: 1px; font-weight: bold; }
-->
<!--
table { table-layout: fixed; }
html, body, table, tbody { width: 100%; margin: 0; padding: 0; }
th, td { width: 50.0%; }
td div { overflow: auto; }
-->
</style>
<script type='text/javascript'>
<!--

/* function to open any folds containing a jumped-to line before jumping to it */
function JumpToLine()
{
  var lineNum;
  lineNum = window.location.hash;
  lineNum = lineNum.substr(1); /* strip off '#' */

  if (lineNum.indexOf('L') == -1) {
    lineNum = 'L'+lineNum;
  }
  if (lineNum.indexOf('W') == -1) {
    lineNum = 'W1'+lineNum;
  }
  lineElem = document.getElementById(lineNum);
  /* Always jump to new location even if the line was hidden inside a fold, or
   * we corrected the raw number to a line ID.
   */
  if (lineElem) {
    lineElem.scrollIntoView(true);
  }
  return true;
}
if ('onhashchange' in window) {
  window.onhashchange = JumpToLine;
}

-->
</script>
</head>
<body onload='JumpToLine();'>
<table border='1' width='100%' id='vimCodeElement'>
<tr>
<th>input/test.vim</th>
<th>input/test_modified.vim</th>
</tr><tr>
<td valign="top"><div>
<pre>
<span id="W1L1" class="LineNr"> 1 </span><span class="Comment">&quot; source this file to view a test of the conceal feature</span>
<span id="W1L2" class="LineNr"> 2 </span><span class="Comment DiffChange">&quot; </span><span class="Comment DiffText">change</span><span class="Comment DiffChange"> the conceallevel by pressing &gt; or &lt; to see it change</span><span class="DiffChange">                </span>
<span id="W1L3" class="LineNr"> 3 </span>
<span id="W1L4" class="LineNr"> 4 </span>
<span id="W1L5" class="LineNr"> 5 </span><span class="Comment">&quot;{{{{{{ start 2 folds</span>
<span id="W1L6" class="LineNr"> 6 </span><span class="Statement">syntax</span> <span class="Type">match</span> <span class="Type">concealmatch</span> <span class="Constant">/conceal matched text conceal/</span> <span class="Special">conceal</span> <span class="Special">containedin=</span>all
<span id="W1L7" class="LineNr"> 7 </span>          <span class="Statement">syntax</span> <span class="Type">match</span> <span class="Type">concealconsec</span> <span class="Constant">/consecutive match/</span> <span class="Special">conceal</span> <span class="Special">containedin=</span>all
<span id="W1L8" class="LineNr"> 8 </span>          <span class="Statement">syntax</span> <span class="Type">region</span> <span class="Type">concealregion</span> <span class="Type">start</span>=<span class="Constant">/conceal--&gt;/</span> <span class="Type">end</span>=<span class="Constant">/&lt;--conceal/</span> <span class="Special">conceal</span> cchar=» <span class="Special">containedin=</span>all
<span id="W1L9" class="LineNr"> 9 </span><span class="Statement">syntax</span> <span class="Type">region</span> <span class="Type">concealends</span> <span class="Special">matchgroup=</span><span class="Type">conceal</span>edend <span class="Type">start</span>=<span class="Constant">/concealed end\ze&lt;--/</span> <span class="Type">end</span>=<span class="Constant">/--&gt;\zsconcealed end/</span> <span class="Special">concealends</span> <span class="Special">containedin=</span>all
<span id="W1L10" class="LineNr">10 </span><span class="Comment">&quot;}}} end fold 1</span>
<span id="W1L11" class="LineNr">11 </span>
<span id="W1L12" class="LineNr">12 </span><span class="Statement">set</span> <span class="PreProc">conceallevel</span>=1
<span id="W1L13" class="LineNr">13 </span><span class="Statement">nmap</span> &gt; :set conceallevel+=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span>
<span id="W1L14" class="LineNr">14 </span><span class="Statement">nmap</span> &lt; :set conceallevel-=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span>
<span id="W1L15" class="LineNr">15 </span>
<span id="W1L16" class="LineNr">16 </span><span class="Statement">finish</span>
<span id="W1L17" class="LineNr">17 </span><span class="Comment">&quot;}}} end fold 2</span>
<span id="W1L18" class="LineNr">18 </span>
<span class="LineNr">   </span><span class="DiffDelete">-----------------------------------------------------------------------------</span>
<span class="LineNr">   </span><span class="DiffDelete">-----------------------------------------------------------------------------</span>
<span class="LineNr">   </span><span class="DiffDelete">-----------------------------------------------------------------------------</span>
<span id="W1L19" class="LineNr">19 </span>
<span id="W1L20" class="LineNr">20 </span><span class="Statement">------------------------------------------------------</span>
<span id="W1L21" class="LineNr">21 </span>
<span id="W1L22" class="LineNr">22 </span><span class="DiffChange">test</span><span class="DiffChange"> </span><span class="DiffChange">conceal</span><span class="DiffChange"> </span><span class="DiffText">by</span><span class="DiffText"> </span><span class="DiffText">matching</span><span class="DiffChange">:</span><span class="DiffChange"> </span><span class="DiffChange">conceal matched text conceal</span><span class="DiffChange">                       </span>
<span id="W1L23" class="LineNr">23 </span>test two matches in_a row: consecutive matchconsecutive _match
<span id="W1L24" class="LineNr">24 </span>test conceal by region: conceal--&gt; this text should _be
<span id="W1L25" class="LineNr">25 </span>   concealed..._on multiple lines!
<span id="W1L26" class="LineNr">26 </span>   &lt;--conceal
<span id="W1L27" class="LineNr">27 </span>test concealends: concealed end&lt;-- some text that is_not concealed --&gt;concealed end
<span id="W1L28" class="LineNr">28 </span>
<span id="W1L29" class="LineNr">29 </span> <span class="Statement">vim</span>: fdm<span class="Statement">=</span>marker
</pre>
</div></td>
<td valign="top"><div>
<pre>
<span id="W2L1" class="LineNr"> 1 </span><span class="Comment">&quot; source this file to view a test of the conceal feature</span>
<span id="W2L2" class="LineNr"> 2 </span><span class="Comment DiffChange">&quot; </span><span class="Comment DiffText">modify</span><span class="Comment DiffChange"> the conceallevel by pressing &gt; or &lt; to see it change</span><span class="DiffChange">                </span>
<span id="W2L3" class="LineNr"> 3 </span>
<span id="W2L4" class="LineNr"> 4 </span>
<span id="W2L5" class="LineNr"> 5 </span><span class="Comment">&quot;{{{{{{ start 2 folds</span>
<span id="W2L6" class="LineNr"> 6 </span><span class="Statement">syntax</span> <span class="Type">match</span> <span class="Type">concealmatch</span> <span class="Constant">/conceal matched text conceal/</span> <span class="Special">conceal</span> <span class="Special">containedin=</span>all
<span id="W2L7" class="LineNr"> 7 </span>          <span class="Statement">syntax</span> <span class="Type">match</span> <span class="Type">concealconsec</span> <span class="Constant">/consecutive match/</span> <span class="Special">conceal</span> <span class="Special">containedin=</span>all
<span id="W2L8" class="LineNr"> 8 </span>          <span class="Statement">syntax</span> <span class="Type">region</span> <span class="Type">concealregion</span> <span class="Type">start</span>=<span class="Constant">/conceal--&gt;/</span> <span class="Type">end</span>=<span class="Constant">/&lt;--conceal/</span> <span class="Special">conceal</span> cchar=» <span class="Special">containedin=</span>all
<span id="W2L9" class="LineNr"> 9 </span><span class="Statement">syntax</span> <span class="Type">region</span> <span class="Type">concealends</span> <span class="Special">matchgroup=</span><span class="Type">conceal</span>edend <span class="Type">start</span>=<span class="Constant">/concealed end\ze&lt;--/</span> <span class="Type">end</span>=<span class="Constant">/--&gt;\zsconcealed end/</span> <span class="Special">concealends</span> <span class="Special">containedin=</span>all
<span id="W2L10" class="LineNr">10 </span><span class="Comment">&quot;}}} end fold 1</span>
<span id="W2L11" class="LineNr">11 </span>
<span id="W2L12" class="LineNr">12 </span><span class="Statement">set</span> <span class="PreProc">conceallevel</span>=1
<span id="W2L13" class="LineNr">13 </span><span class="Statement">nmap</span> &gt; :set conceallevel+=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span>
<span id="W2L14" class="LineNr">14 </span><span class="Statement">nmap</span> &lt; :set conceallevel-=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span>
<span id="W2L15" class="LineNr">15 </span>
<span id="W2L16" class="LineNr">16 </span><span class="Statement">finish</span>
<span id="W2L17" class="LineNr">17 </span><span class="Comment">&quot;}}} end fold 2</span>
<span id="W2L18" class="LineNr">18 </span>
<span id="W2L19" class="LineNr">19 </span><span class="Comment DiffAdd">&quot;</span><span class="DiffAdd"> </span><span class="Todo DiffAdd">TODO</span><span class="PreProc DiffAdd">:</span><span class="Comment DiffAdd"> look at the pretty syntax</span><span class="DiffAdd">                                            </span>
<span id="W2L20" class="LineNr">20 </span><span class="Statement DiffAdd">call</span><span class="DiffAdd"> </span><span class="Normal DiffAdd">FuncThatWontGetCalled</span><span class="Special DiffAdd">(</span><span class="DiffAdd">because, finish, is, called, above</span><span class="Special DiffAdd">)</span><span class="DiffAdd">               </span>
<span id="W2L21" class="LineNr">21 </span><span class="Comment DiffAdd">&quot; see how I added lines to show up in a diff?</span><span class="DiffAdd">                                </span>
<span id="W2L22" class="LineNr">22 </span>
<span id="W2L23" class="LineNr">23 </span><span class="Statement">------------------------------------------------------</span>
<span id="W2L24" class="LineNr">24 </span>
<span id="W2L25" class="LineNr">25 </span><span class="DiffChange">test</span><span class="DiffChange"> </span><span class="DiffChange">conceal</span><span class="DiffChange"> </span><span class="DiffText">using</span><span class="DiffText"> </span><span class="DiffText">_match</span><span class="DiffChange">:</span><span class="DiffChange"> </span><span class="DiffChange">conceal</span><span class="DiffChange"> </span><span class="DiffChange">matched</span><span class="DiffChange"> </span><span class="DiffChange">text</span><span class="DiffChange"> </span><span class="DiffChange">conceal</span><span class="DiffChange">                      </span>
<span id="W2L26" class="LineNr">26 </span>test two matches in_a row: consecutive matchconsecutive _match
<span id="W2L27" class="LineNr">27 </span>test conceal by region: conceal<span class="Statement">--&gt;</span> this text should _be
<span id="W2L28" class="LineNr">28 </span>   concealed<span class="Statement">...</span>_on multiple lines!
<span id="W2L29" class="LineNr">29 </span>   <span class="Statement">&lt;--</span>conceal
<span id="W2L30" class="LineNr">30 </span>test concealends: concealed <span class="Statement">end</span><span class="Statement">&lt;--</span> some text that is_not concealed <span class="Statement">--&gt;</span>concealed <span class="Statement">end</span>
<span id="W2L31" class="LineNr">31 </span>
<span id="W2L32" class="LineNr">32 </span> <span class="Statement">vim</span>: fdm<span class="Statement">=</span>marker
</pre>
</div></td>
</tr>
</table>
</body>
</html>
<!-- vim: set foldmethod=manual : -->

